<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<script type="text/javascript" src="${ctx}/res/js/survey/surveyManagement/surveyReleasePopup.js"></script>
		<script>
			 $(function() {
			   $( "#tabs" ).tabs();
			 });
		</script>
	</head>
	<body>
		<!-- 设置tab页 -->
		<div id="tabs" style="border: 1px solid #506AFB">
			<ul style="background: #506AFB;">
				<li id="tab1" style="background: #f9f9f9;" onclick="getDataList(1)"><a
					href="#tabs-1">已选择用户列表</a></li>
				<li id="tab2" style="background: #f9f9f9;" onclick="window.mianIframe2.departmentTree()"><a href="#tabs-2">组织结构</a></li>
				<li id="tab2" style="background: #f9f9f9;" onclick="window.mianIframe3.showGroupList()"><a href="#tabs-3">用户组</a></li>
			</ul>
			<div id="tabs-1">
				<center>
					<table>
						<!-- 查询条件 区域 -->
						<tr>
							<td>
								<div class="list_query">
									<form method="post" id="queryForm">
										<label><span>USERNAME</span><input type="text" id="username" style="margin-top:10px;width:150px;font-size:15px" name="username" placeholder="请输入USERNAME" /></label> 
										<label><span>CN_NAME</span><input type="text" id="cn_name" style="margin-top:10px;width:150px;font-size:15px" name="cn_name" placeholder="请输入CN_NAME" /></label> 
										<label><span>DEPT_NAME</span><input type="text" id="depart_name" style="margin-top:10px;width:150px;font-size:15px" name="depart_name" placeholder="请输入DEPT_NAME"/></label>
									</form>
								</div>
							</td>
						</tr>
	
						<!-- 按钮操作区域 -->
						<tr>
							<td>
								<div class="list_toolbar">
									<div class="toolButton" onclick="queryDate(1)">查询</div>
									<div class="toolButton" onclick="deleteUser();">删除</div>
									<div class="toolButton" onclick="surveyRelease();">发布</div>
								</div>
							</td>
						</tr>
	
						<!-- 表头区域-->
						<tr>
							<td>
								<table class="list_grid">
									<thead>
										<tr>
											<th>USERNAME</th>
											<th>CN_NAME</th>
											<th>DEPT_NAME</th>
											<th>CREATE_TIME</th>
											<th style="width: 1px;"></th>
										</tr>
									</thead>
								</table>
							</td>
						</tr>
	
						<!-- 数据区域 -->
						<tr>
							<td>
								<div class="list_scrollControlDiv">
									<table class="list_grid" style="border-spacing: 0;">
										<tbody id="tBodyList">
										</tbody>
									</table>
								</div>
							</td>
						</tr>
	
						<!-- 分页控件区域 -->
						<tr>
							<td>
								<div id="pagination" class="pagination"></div>
							</td>
						</tr>
					</table>
				</center>
			</div>
	
			<!-- 组织结构 -->
			<div id="tabs-2">
				<iframe id="mianIframe2" name="mianIframe2" width="100%" height="500px" frameborder=0
					scrolling=auto src="${ctx}/survey/surveyManagement/surveyRelease/toDepart_sitemesh_popup.do"></iframe>
			</div>
	
			<!-- 用户组 -->
			<div id="tabs-3">
				<iframe id="mianIframe3" name="mianIframe3" width="100%" height="500px" frameborder=0
					scrolling=auto src="${ctx}/survey/surveyManagement/surveyRelease/toGroup_sitemesh_popup.do"></iframe>
			</div>
		</div>
	</body>
</html>